package com.link.base.base.sms.model;

import com.link.core.basic.model.BasicModel;

/**
 * 消息发送记录-消息发送记录 
 *
 * @author 顾桂山
 * @date 2019/09/02 16:37
 */
public class MsgResult extends BasicModel {

    /**场景Id*/
    private Long sceneId;            
    /**模板Id*/
    private Long templateId;
    /**消息类型 MESSAGE_TYPE*/
    private String msgType;            
    /**操作人Id*/
    private Long operatorId;         
    /**用户Id*/
    private Long accntId;            
    /**发送类型 MESSAGE_SEND_TIMING*/
    private String sendType;           
    /**手机号*/
    private String phone;              
    /**OpenId*/
    private String openId;             
    /**消息内容*/
    private String content;            
    /**发送时间*/
    private String sendTime;           
    /**发送状态 MESSAGE_STATUS*/
    private String status;             
    /**异常反馈*/
    private String errMsg;
    /**模板名称*/
    private String tempTitle;
    /**用户名称*/
    private String accntName;

    public MsgResult() {
    }

    public MsgResult(Long sceneId, Long templateId, String msgType, String sendType, String openId, String content, Long accntId) {
        this.sceneId = sceneId;
        this.templateId = templateId;
        this.msgType = msgType;
        this.accntId = accntId;
        this.sendType = sendType;
        this.openId = openId;
        this.content = content;
        this.status = "New";
    }

    public MsgResult(Long sceneId, Long templateId, String sendType, String phone, String content, Long accntId) {
        this.sceneId = sceneId;
        this.templateId = templateId;
        this.status = "New";
        this.accntId = accntId;
        this.sendType = sendType;
        this.phone = phone;
        this.content = content;
    }

    public Long getSceneId() {
        return sceneId;
    }

    public void setSceneId(Long sceneId) {
        this.sceneId = sceneId;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public Long getAccntId() {
        return accntId;
    }

    public void setAccntId(Long accntId) {
        this.accntId = accntId;
    }

    public String getSendType() {
        return sendType;
    }

    public void setSendType(String sendType) {
        this.sendType = sendType;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public String getTempTitle() {
        return tempTitle;
    }

    public void setTempTitle(String tempTitle) {
        this.tempTitle = tempTitle;
    }

    public String getAccntName() {
        return accntName;
    }

    public void setAccntName(String accntName) {
        this.accntName = accntName;
    }
}
